<h3 class="page-header">编辑页面</h3>

<%= simple_form_for(@static_page, url: static_page_path) do |f| %>
  <div class="row">
    <div class="col-md-7">
      <%= f.error_messages %>

      <%= f.input :slug %>
      <%= f.input :title %>

    </div>
    <div class="col-md-12">

      <%= f.input :content, input_html: { class: "ckeditor", rows: 8 } %>

    </div>
    <div class="col-md-7">

      <%= f.button :submit, "保存", class: "btn-primary pull-right" %>
    </div>
  </div>
<% end %>
